<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>
<html>
<head lang="en">
	<title>Spring Boot Demo - FreeMarker</title>
	
	<link href="/static/css/index.css" rel="stylesheet" />
	
</head>
<body>
	<img src="/static/images/logo.png" alt="logo"/>
	<h1 id="title">${title}</h1>	
	<script type="text/javascript" src="/static/js/jquery.min.js"></script>
	<script>
		$(function(){
			$('#title').click(function(){
				alert('点击了');
			});
		})
	</script>
	${userList}
	<form id="searchForm" action="/users/list" method="post">
		<div id="container">
			<div class="ui_content">
				<div class="ui_tb">
					<table class="table" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
						<tr>
							<th width="30"><input type="checkbox" id="all" /></th>
							<th>id</th>
							<th>name</th>
							<th>createTime</th>
						</tr>
						<tbody>
						    <c:forEach items="${userList}" var="user">
							<tr>
								<td><input type="checkbox" name="IDCheck" class="acb" /></td>
								<td>${user.id}</td>
								<td>${user.name}</td>
								<td>${user.createTime}</td>
							</tr>
							</c:forEach>
						</tbody>
					</table>
				</div>
				</div>
			</div>
		</div>
	</form>
</body>
</html>
